using System;
using System.Collections.Generic;

namespace TimeTableManagement.Entities
{
    public class Tb_People
    {
        public Tb_People()
        {
            this.Tb_Assign_Course = new List<Tb_Assign_Course>();
            this.Tb_CourseRegister = new List<Tb_CourseRegister>();
            this.Tb_Profile_Value = new List<Tb_Profile_Value>();
            this.Tb_Teachtime = new List<Tb_Teachtime>();
            this.Tb_Temp_Finance = new List<Tb_Temp_Finance>();
        }

        public int id { get; set; }
        public string mssv { get; set; }
        public string name { get; set; }
        public int id_department { get; set; }
        public Nullable<int> type { get; set; }
        public virtual ICollection<Tb_Assign_Course> Tb_Assign_Course { get; set; }
        public virtual Tb_Config Tb_Config { get; set; }
        public virtual ICollection<Tb_CourseRegister> Tb_CourseRegister { get; set; }
        public virtual Tb_Department Tb_Department { get; set; }
        public virtual ICollection<Tb_Profile_Value> Tb_Profile_Value { get; set; }
        public virtual ICollection<Tb_Teachtime> Tb_Teachtime { get; set; }
        public virtual ICollection<Tb_Temp_Finance> Tb_Temp_Finance { get; set; }
        public virtual ICollection<Tb_Timetable> Tb_Timetable { get; set; }
    }
    public class Profile
    {
        int _id; //Neu Create thi day la id_keywrodprofile
        // Neu Edit thi day la id profile value
        String _key;
        String _value;
        public int id
        {
            get { return _id; }
            set { _id = value; }
        }
        public String key
        {
            get { return _key; }
            set { _key = value; }
        }
        public String value
        {
            get { return _value; }
            set { _value = value; }
        }
    }

}

